package top.vanchor.myblog2back.service;

import top.vanchor.myblog2back.entity.BackAuthGroup;
import top.vanchor.myblog2back.entity.BackAuthGroupRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-01-27
 */
public interface IBackAuthGroupRuleService extends IService<BackAuthGroupRule> {

    List<BackAuthGroupRule> getIdsByGroupId(Integer groupId);

    List<Integer> getRuleIdsByGroupId(Integer groupId);

    int doRulesEdit(Integer groupId, List<Integer> ruleIds);
}
